package aip2011.controller.localita;

import java.util.List;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import aip2011.model.Localita;
import aip2011.service.LocalitaService;

public class LocalitaSuggestiveController extends Controller {

    private LocalitaService service=new LocalitaService();
    
    @Override
    public Navigation run() throws Exception {
        List<Localita> localitaSuggestiveList = service.getLocalitaSuggestive();
        requestScope("localitaSuggestiveList", localitaSuggestiveList);
        return forward("localitaSuggestive.jsp");
    }
}
